﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ComponentInit : MonoBehaviour
{
    void Awake()
    {
        //1. 为 arCamera 添加脚本组件
        GameObject arCamera = GameObject.Find("AR Session Origin/AR Camera");
        arCamera.AddComponent<BtnClickController>();
    }

    // Start is called before the first frame update
    void Start()
    {
        ToastUtil.showToast("请把手机横屏使用");
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
